﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DstryByBoundary : MonoBehaviour {

	void OnTriggerExit(Collider other)
	{
		Debug.Log ("Shot exited: " + other.name);
		// Destroy everything that leaves the trigger
		Destroy(other.gameObject);
		Debug.Log ("Shot destroyed!");
	}
}
